<div class="full-container" style="background-image: url(/assets/images/intro-bg-blur.jpg)" ng-if="(votes|filter:'progress').length">
  <div class="text-vertical-center" ng-repeat="vote in votes | filter: 'progress'" ng-if="votes.length">
    <h1 class="text-center">{{vote.title}}</h1>
    <div class="container">
      <div class="row">
        <div class="col-md-6">
          <div style="padding: 32px">
            <chart value="myChart" type="Bar" width="420" height="375"></chart>
          </div>
        </div>
        <div class="col-md-6">
          <div class="row">
            <div class="col-md-6 col-sm-6">
              <div class="fact colored white" data-perc="640">
                <h1 class="factor">{{vote.agree}}</h1>
                <h3 style="color: #fff">原则同意</h3>
              </div>
            </div>
            <div class="col-md-6 col-sm-6">
              <div class="fact colored white" data-perc="640">
                <h1 class="factor">{{vote.disagree}}</h1>
                <h3 style="color: #fff">不同意</h3>
              </div>
            </div>
            <div class="col-md-6 col-sm-6">
              <div class="fact colored white" data-perc="640">
                <h1 class="factor">{{meetings[0].actual_size - vote.agree - vote.disagree}}</h1>
                <h3 style="color: #fff">未投票</h3>
              </div>
            </div>
            <div class="col-md-6 col-sm-6">
              <div class="fact colored white" data-perc="640">
                <h1 class="factor">{{meetings[0].actual_size}}</h1>
                <h3 style="color: #fff">实到人数</h3>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="full-container" style="background-color: #354a60" ng-if="!(votes|filter:'progress').length && meetings[0].status == 'progress'">
  <div class="text-vertical-center">
    <h1 class="text-center">{{vote.title}}【已结束】</h1>
    <div class="row">
      <div class="col-md-6">
        <div style="padding: 32px">
          <chart value="myChart" type="Bar" width="420" height="375"></chart>
        </div>
      </div>
      <div class="col-md-6">
        <div class="row">
          <div class="col-md-6 col-sm-6">
            <div class="fact colored white">
              <h1 class="factor">{{vote.agree}}</h1>
              <h3 style="color: #fff">原则同意</h3>
            </div>
          </div>
          <div class="col-md-6 col-sm-6">
            <div class="fact colored white">
              <h1 class="factor">{{vote.disagree}}</h1>
              <h3 style="color: #fff">不同意</h3>
            </div>
          </div>
          <div class="col-md-6 col-sm-6">
            <div class="fact colored white">
              <h1 class="factor">{{meetings[0].actual_size - vote.agree - vote.disagree}}</h1>
              <h3 style="color: #fff">未投票</h3>
            </div>
          </div>
          <div class="col-md-6 col-sm-6">
            <div class="fact colored white">
              <h1 class="factor">{{meetings[0].actual_size}}</h1>
              <h3 style="color: #fff">实到人数</h3>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>

<div class="full-container" style="background-image: url(/assets/images/intro-bg-blur.jpg)" ng-if="meetings[0].status == 'done'">
  <div class="text-vertical-center">
    <h2><em>投票结束，谢谢您的参与</em></h2><br/>
    <a class="btn btn-dark btn-lg"  ui-sref="main">点击返回首页</a>
  </div>
</div>
